import {StyleSheet} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
  head_icon: {
    marginRight: px2dp(36),
    fontSize: px2dp(44),
    color: '#333333',
  },
  wrapper_container: {
    height: px2dp(280),
    marginHorizontal: px2dp(24),
  },
  wrapper: {
    width: '100%',
    backgroundColor: '#f7f7f7',
    height: px2dp(280),
  },
  img_container: {
    width: '100%',
    height: px2dp(280),
    justifyContent: 'center',
    alignItems: 'center',
  },
  tabs_container: {
    flexDirection: 'row',
    height: px2dp(68),
  },
  btn: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },
  btn_text: {
    color: '#333333',
    fontSize: px2dp(26),
  },
  btn_text_selected: {
    color: '#EB0029',
    fontWeight: 'bold',
  },
  selected: {
    width: px2dp(24),
    height: px2dp(5),
    backgroundColor: '#EB0029',
    borderRadius: px2dp(3),
    position: 'absolute',
    bottom: 0,
    left: '50%',
    marginLeft: px2dp(-12),
  },
  line: {
    width: px2dp(24),
    height: px2dp(5),
    backgroundColor: '#EB0029',
    borderRadius: px2dp(3),
    position: 'absolute',
    bottom: 0,
    left: '50%',
    marginLeft: px2dp(-12),
  },
  list_container: {
    flex: 1,
    flexDirection: 'row',
    justifyContent: 'space-between',
    flexWrap: 'wrap',
    paddingHorizontal: px2dp(24),
    paddingVertical: px2dp(10),
    marginTop: px2dp(19),
  },
  head_icon: {
    flexDirection: 'row',
    alignItems: 'center',
  },
  icon: {
    marginRight: px2dp(36),
    fontSize: px2dp(44),
    color: '#333333',
    marginLeft: px2dp(-10),
  },
  list: {
    width: px2dp(336),
    borderRadius: px2dp(8),
    borderWidth: px2dp(1),
    borderColor: 'rgba(0, 0, 0, 0.11)',
    marginBottom: px2dp(24),
  },
  cover: {
    width: px2dp(336),
    height: px2dp(256),
    borderRadius: px2dp(8),
    backgroundColor: '#f7f7f7',
  },
  list_info: {
    paddingHorizontal: px2dp(11),
  },
  list_title: {
    marginVertical: px2dp(15),
    fontWeight: 'bold',
    color: '#333',
    fontSize: px2dp(26),
  },
  list_time: {
    flexDirection: 'row',
    alignItems: 'center',
  },
  num_text: {
    fontSize: px2dp(16),
    color: '#666666',
  },
  time_text: {
    fontSize: px2dp(16),
    color: '#666666',
    marginLeft: px2dp(19),
  },
  list_money_avatar: {
    flexDirection: 'row',
    alignItems: 'flex-end',
    justifyContent: 'space-between',
  },
  money: {
    fontSize: px2dp(30),
    fontWeight: 'bold',
    color: '#EB0029',
  },
  person_num: {
    fontSize: px2dp(14),
    color: '#999999',
    marginVertical: px2dp(18),
  },
  avatar: {
    alignItems: 'center',
    justifyContent: 'center',
  },
  avatar_img: {
    width: px2dp(68),
    height: px2dp(68),
    borderRadius: px2dp(34),
    backgroundColor: '#f7f7f7',
    marginTop: px2dp(16),
  },
  name: {
    fontSize: px2dp(18),
    fontWeight: 'bold',
    color: '#333',
    marginTop: px2dp(9),
    marginBottom: px2dp(19),
  },
  filter_modal: {
    position: 'absolute',
    left:0,
    top:0,
    backgroundColor: '#fff',
    width: "100%",
    alignItems: 'center',
  },
  filter_title: {
    fontSize: px2dp(24),
    fontWeight: 'bold',
    color: '#333',
    marginVertical: px2dp(24),
  },
  class_container: {
    display: 'flex',
    flexDirection: 'row',
    alignItems: 'center',
    flexWrap: 'wrap',
    justifyContent: 'space-around',
  },
  class_list: {
    height: px2dp(58),
    justifyContent: 'center',
    alignItems: 'center',
    width: px2dp(186),
    borderRadius: px2dp(58),
    marginHorizontal: px2dp(32),
    marginBottom: px2dp(28),
    borderWidth: 1,
    borderColor: '#ccc',
  },
  class_list_money: {
    height: px2dp(58),
    justifyContent: 'center',
    alignItems: 'center',
    width: px2dp(244),
    borderRadius: px2dp(58),
    marginHorizontal: px2dp(32),
    marginBottom: px2dp(28),
    borderWidth: 1,
    borderColor: '#ccc',
  },
  class_list_text: {
    fontSize: px2dp(28),
    color: '#666',
  },
  filter_btn: {
    width: px2dp(244),
    height: px2dp(68),
    backgroundColor: '#3699FF',
    borderRadius: px2dp(34),
    justifyContent: 'center',
    alignItems: 'center',
    marginTop: px2dp(94),
    marginBottom: px2dp(32),
  },
  filter_bth_text: {
    fontWeight: 'bold',
    color: '#fff',
    fontSize: px2dp(28),
  }
});

export default styles;
